package com.woniu40.petai_manager;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@MapperScan("com.woniu40.petai_manager.mapper")
@EnableTransactionManagement
public class PetaiManagerApplication {

    public static void main(String[] args) {
        try{
            SpringApplication.run(PetaiManagerApplication.class, args);
        }catch (Exception e){
            e.printStackTrace();
        }

    }

}
